package mn.idax.exchange.otc.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Coin implements Serializable {
    private Integer id;

    private String code;

    private String name;

    private String coverImage;

    private String rpcHost;

    private Integer rpcPort;

    private String rpcUser;

    private String rpcPassword;

    private Short rpcTimeout;

    private String encryptedWalletPassword;

    private Boolean isDepositEnabled;

    private Boolean isWithdrawEnabled;

    private BigDecimal withdrawFee;

    private String contractAddress;

    private BigDecimal lowWithdrawAmount;

    private BigDecimal maxWithdrawAmount;

    private BigDecimal lowWithdrawFee;

    private Integer depositMinConfirms;

    private String txUrlFormat;

    private Integer latestBlockNumber;

    private Date createTime;

    private Date updateTime;

    private Boolean isVisible;

    private String walletProvider;

    private BigDecimal fixedFee;

    private Integer erc20DecimalPlace;

    private BigDecimal withdrawMax;

    private Integer tokenType;

    private Integer latestAccountHistoryNumber;

    private Integer rpcPort2;

    private String walletAccount;

    private String walletAccount2;

    private String encryptedClientPassword;

    private String encryptedClientPassword2;

    private BigDecimal minCollector;

    private BigDecimal issuePrice;

    private String RPCHost2;

    private Date timingOpenTime;

    private Date timingOpenWithdrewTime;

    private byte[] rowVersion;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage == null ? null : coverImage.trim();
    }

    public String getRpcHost() {
        return rpcHost;
    }

    public void setRpcHost(String rpcHost) {
        this.rpcHost = rpcHost == null ? null : rpcHost.trim();
    }

    public Integer getRpcPort() {
        return rpcPort;
    }

    public void setRpcPort(Integer rpcPort) {
        this.rpcPort = rpcPort;
    }

    public String getRpcUser() {
        return rpcUser;
    }

    public void setRpcUser(String rpcUser) {
        this.rpcUser = rpcUser == null ? null : rpcUser.trim();
    }

    public String getRpcPassword() {
        return rpcPassword;
    }

    public void setRpcPassword(String rpcPassword) {
        this.rpcPassword = rpcPassword == null ? null : rpcPassword.trim();
    }

    public Short getRpcTimeout() {
        return rpcTimeout;
    }

    public void setRpcTimeout(Short rpcTimeout) {
        this.rpcTimeout = rpcTimeout;
    }

    public String getEncryptedWalletPassword() {
        return encryptedWalletPassword;
    }

    public void setEncryptedWalletPassword(String encryptedWalletPassword) {
        this.encryptedWalletPassword = encryptedWalletPassword == null ? null : encryptedWalletPassword.trim();
    }

    public Boolean getIsDepositEnabled() {
        return isDepositEnabled;
    }

    public void setIsDepositEnabled(Boolean isDepositEnabled) {
        this.isDepositEnabled = isDepositEnabled;
    }

    public Boolean getIsWithdrawEnabled() {
        return isWithdrawEnabled;
    }

    public void setIsWithdrawEnabled(Boolean isWithdrawEnabled) {
        this.isWithdrawEnabled = isWithdrawEnabled;
    }

    public BigDecimal getWithdrawFee() {
        return withdrawFee;
    }

    public void setWithdrawFee(BigDecimal withdrawFee) {
        this.withdrawFee = withdrawFee;
    }

    public String getContractAddress() {
        return contractAddress;
    }

    public void setContractAddress(String contractAddress) {
        this.contractAddress = contractAddress == null ? null : contractAddress.trim();
    }

    public BigDecimal getLowWithdrawAmount() {
        return lowWithdrawAmount;
    }

    public void setLowWithdrawAmount(BigDecimal lowWithdrawAmount) {
        this.lowWithdrawAmount = lowWithdrawAmount;
    }

    public BigDecimal getMaxWithdrawAmount() {
        return maxWithdrawAmount;
    }

    public void setMaxWithdrawAmount(BigDecimal maxWithdrawAmount) {
        this.maxWithdrawAmount = maxWithdrawAmount;
    }

    public BigDecimal getLowWithdrawFee() {
        return lowWithdrawFee;
    }

    public void setLowWithdrawFee(BigDecimal lowWithdrawFee) {
        this.lowWithdrawFee = lowWithdrawFee;
    }

    public Integer getDepositMinConfirms() {
        return depositMinConfirms;
    }

    public void setDepositMinConfirms(Integer depositMinConfirms) {
        this.depositMinConfirms = depositMinConfirms;
    }

    public String getTxUrlFormat() {
        return txUrlFormat;
    }

    public void setTxUrlFormat(String txUrlFormat) {
        this.txUrlFormat = txUrlFormat == null ? null : txUrlFormat.trim();
    }

    public Integer getLatestBlockNumber() {
        return latestBlockNumber;
    }

    public void setLatestBlockNumber(Integer latestBlockNumber) {
        this.latestBlockNumber = latestBlockNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsVisible() {
        return isVisible;
    }

    public void setIsVisible(Boolean isVisible) {
        this.isVisible = isVisible;
    }

    public String getWalletProvider() {
        return walletProvider;
    }

    public void setWalletProvider(String walletProvider) {
        this.walletProvider = walletProvider == null ? null : walletProvider.trim();
    }

    public BigDecimal getFixedFee() {
        return fixedFee;
    }

    public void setFixedFee(BigDecimal fixedFee) {
        this.fixedFee = fixedFee;
    }

    public Integer getErc20DecimalPlace() {
        return erc20DecimalPlace;
    }

    public void setErc20DecimalPlace(Integer erc20DecimalPlace) {
        this.erc20DecimalPlace = erc20DecimalPlace;
    }

    public BigDecimal getWithdrawMax() {
        return withdrawMax;
    }

    public void setWithdrawMax(BigDecimal withdrawMax) {
        this.withdrawMax = withdrawMax;
    }

    public Integer getTokenType() {
        return tokenType;
    }

    public void setTokenType(Integer tokenType) {
        this.tokenType = tokenType;
    }

    public Integer getLatestAccountHistoryNumber() {
        return latestAccountHistoryNumber;
    }

    public void setLatestAccountHistoryNumber(Integer latestAccountHistoryNumber) {
        this.latestAccountHistoryNumber = latestAccountHistoryNumber;
    }

    public Integer getRpcPort2() {
        return rpcPort2;
    }

    public void setRpcPort2(Integer rpcPort2) {
        this.rpcPort2 = rpcPort2;
    }

    public String getWalletAccount() {
        return walletAccount;
    }

    public void setWalletAccount(String walletAccount) {
        this.walletAccount = walletAccount == null ? null : walletAccount.trim();
    }

    public String getWalletAccount2() {
        return walletAccount2;
    }

    public void setWalletAccount2(String walletAccount2) {
        this.walletAccount2 = walletAccount2 == null ? null : walletAccount2.trim();
    }

    public String getEncryptedClientPassword() {
        return encryptedClientPassword;
    }

    public void setEncryptedClientPassword(String encryptedClientPassword) {
        this.encryptedClientPassword = encryptedClientPassword == null ? null : encryptedClientPassword.trim();
    }

    public String getEncryptedClientPassword2() {
        return encryptedClientPassword2;
    }

    public void setEncryptedClientPassword2(String encryptedClientPassword2) {
        this.encryptedClientPassword2 = encryptedClientPassword2 == null ? null : encryptedClientPassword2.trim();
    }

    public BigDecimal getMinCollector() {
        return minCollector;
    }

    public void setMinCollector(BigDecimal minCollector) {
        this.minCollector = minCollector;
    }

    public BigDecimal getIssuePrice() {
        return issuePrice;
    }

    public void setIssuePrice(BigDecimal issuePrice) {
        this.issuePrice = issuePrice;
    }

    public String getRPCHost2() {
        return RPCHost2;
    }

    public void setRPCHost2(String RPCHost2) {
        this.RPCHost2 = RPCHost2 == null ? null : RPCHost2.trim();
    }

    public Date getTimingOpenTime() {
        return timingOpenTime;
    }

    public void setTimingOpenTime(Date timingOpenTime) {
        this.timingOpenTime = timingOpenTime;
    }

    public Date getTimingOpenWithdrewTime() {
        return timingOpenWithdrewTime;
    }

    public void setTimingOpenWithdrewTime(Date timingOpenWithdrewTime) {
        this.timingOpenWithdrewTime = timingOpenWithdrewTime;
    }

    public byte[] getRowVersion() {
        return rowVersion;
    }

    public void setRowVersion(byte[] rowVersion) {
        this.rowVersion = rowVersion;
    }
}